package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.SysArea;

import java.io.Serial;
import java.io.Serializable;

/**
 * 地区表(SysArea)表实体类
 *
 * @author ckk
 * @since 2025-07-12 10:45:36
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysArea.class)
public class SysAreaVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 父主键
     */
    private Long parentId;
    /**
     * 地区级别
     */
    private Integer areaLevel;
    /**
     * 祖先
     */
    private String ancestors;
    /**
     * 地区名称
     */
    private String areaName;

    /**
     * 行政区划
     */
    private String adcode;

}

